/*
 *  Copyright 2020 Huawei Technologies Co ., Ltd .
 *
 *  Licensed under the Apache License, Version 2 .0 (the "License");
 *  you may not use this file except in compliance with the License .
 *  You may obtain a copy of the License at
 *
 *      http://www .apache .org/licenses/LICENSE-2 .0
 *
 *  Unless required by applicable law or agreed to in writing, software
 *  distributed under the License is distributed on an "AS IS" BASIS,
 *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied .
 *  See the License for the specific language governing permissions and
 *  limitations under the License .
 */

import enLocale from 'element-ui/lib/locale/lang/en'
const en = {
  login: {
    userName: 'Username',
    password: 'Password',
    login: 'Login',
    logout: 'Logout',
    register: 'Register',
    legalRegister: 'Agree to the agreement and register',
    iAgree: 'I have read and agree to the',
    userAgreement: '《EdgeGallery Customer Agreement》',
    and: 'and',
    privacyStatement: '《Privacy Statement》',
    legalProvisions: 'Legal Clauses',
    siteAgreement: 'Website Agreement',
    contact: 'Contact Number',
    company: 'Company',
    gender: 'Gender',
    male: 'Male',
    female: 'Female',
    namePla: 'Username',
    pwdPla: 'Password',
    pwdConfPla: 'Confirm Password',
    compPla: 'Company',
    mailAddr: 'Email Address',
    telPla: 'Mobile Phone Number',
    registerHint: 'Tips: It is recommended to provide at least one piece of authentic information in email address and phone number, in case you forget and need to find your password.',
    getCap: 'Verification Code',
    capInImg: 'Image Verification Code',
    capPla: '6-Digit Verification Code',
    sendCaptchaTo: 'Send Verification Code to:',
    newPwd: 'New password',
    confirmNewPwd: 'Confirm your new password',
    forgotPwd: 'Forgot Password？',
    loginWithUser: 'Account Login',
    welcome: 'EdgeGallery Account Registration',
    freeSign: 'Free Registration',
    getPwd: 'Change Password',
    getPwdByMail: 'By Mail',
    getPwdBySms: 'By Mobile Phone',
    verify: 'Drag Slider to Verify',
    finishVerify: 'Verification Success',
    changeOne: 'Change',
    loginFail: 'Failed to log in, please check your account and password. If wrong password is entered more than five consecutive times, the account will be locked.',
    usernameRule: 'Any of two combinations of 6-30 characters, numbers, and underscores. The first digit must be a letter.',
    passwordRule: 'The password must be composed of 6-18 characters, numbers and special symbols.',
    phoneNumberRule: 'Phone number format is invalid.',
    mailAddressRule: 'Email address is invalid.',
    userLock: 'You have entered wrong passwords for more than 5 times, the account has been locked, please try again after 5 minutes.',
    hasLogin: 'Logged In',
    rightUserAndPwd: 'Please enter correct username and password!',
    newPwdNotNull: 'Password can not be empty!',
    confirmPwdNotNull: 'Confirm password can not be empty!'
  },
  pwdmodify: {
    oldPw: 'Old Password',
    newPw: 'New Password',
    confirmNewPw: 'Confirm Password',
    pwdNotConsistent: 'New password can not be the same as the old one!',
    modifyPwdSucceed: 'Successfully modify your password!',
    modifyPwdFailed: 'Failed to modify your password, please try again later.',
    firstLoginTip: 'Modify Password (First time login)',
    expiredTip: 'Modify Password (Password has expired)',
    cancelOnFirstLoginTip: 'After the first login, you must change the default password. If you click cancel, you will exit the current account. Continue?',
    cancelOnPwExpiredTip: 'Your password has expired. You must set a new password. If you click cancel, you will exit the current account. Continue?',
    next: 'Next',
    submit: 'Submit',
    cancel: 'Cancel',
    return: 'Return',
    formDataVerify: 'Please enter right data!',
    wrongCode: 'Wrong code, please retry!'
  },
  nav: {
    login: 'Login',
    logout: 'Logout',
    mecm: 'Manager',
    overview: 'Overview',
    appMana: 'App Management',
    packageMana: 'Package List',
    packageDist: 'Package Distribution',
    appInstance: 'App Instance Management',
    edgeNodes: 'Edge Node Management',
    nodeList: 'Edege Node List',
    mepList: 'MEP List',
    system: 'System',
    externalSysMan: 'External System Management',
    edgeNode: 'Edge Node',
    appDetail: 'App Detail',
    appRule: 'App Rules',
    fileNotSupport: 'File not supported.',
    logoutTip: 'Are you sure to log out?',
    ruleConfiguration: 'Rule Configuration',
    nodeDetails: 'Node Details'
  },
  overview: {
    location: 'Address',
    address: 'Address : ',
    regionEdge: 'Edge Nodes',
    k8sResc: 'K8S Resource',
    cpu: 'CPU',
    mem: 'MEM', // memory
    disk: 'DISK',
    mepCapa: 'Hardware Capabilities : ',
    mepInfo: 'MEP Information',
    softwareCapa: 'Software Capabilities',
    capa: 'Capabilities',
    vendor: 'Provider',
    model: 'Brand',
    type: 'Hardware Capabilities',
    desc: 'Description',
    app: 'App',
    manage: 'Management',
    maintenance: 'maintenance',
    serviceName: 'Service Name',
    services: 'Services',
    containers: 'Containers',
    containerUsage: 'Container Usage',
    name: 'Name : ',
    register: 'Register',
    alarms: 'Alerts',
    nodeinfo: 'Node Info',
    statistics: 'Statistics',
    nodeIp: 'IP : ',
    nodeName: 'Node Name: ',
    nodeAddress: 'Node Address: ',
    nodeInfo: 'Node Information',
    overview: 'Node Statistics',
    edgeNodes: 'Total Edge Nodes',
    onlineNodes: 'Number of Online Nodes',
    offlineNodes: 'Number of Offline Nodes',
    returnOverview: 'Back to Overview',
    nodeDetails: 'Node Details>>',
    appsInfo: 'App Information>>',
    package: 'Application Packages',
    nodeInfoAreaTitle: 'Node Information',
    availablePackage: 'Avaliable Application Packages',
    distributedPackage: 'Distributed Application Packages',
    deployedPackage: 'Deployed Application Packages',
    info: 'hints： No manageable nodes. ',
    commonNodesInfo: 'Main Nodes Info',
    moreNodes: 'More',
    resourceDetails: 'Resource Details',
    moreDetails: 'More',
    moreResource: ' More Details',
    computeResources: 'Computing Resources',
    occupied: 'Occupied',
    usable: 'Available',
    network: 'Network:',
    x86: 'X86 Resource:',
    GPU: 'GPU:',
    AI: 'AI:',
    nameSearch: 'Name Search',
    getKpiError: 'Failed to get node statistics!'
  },
  footer: {
    about: 'About',
    website: 'Official Website',
    videoResource: 'Video',
    trainingMaterials: 'Training Material',
    communication: 'Communication',
    softwareDownload: 'Software Download',
    community: 'Community',
    project: 'Project',
    membership: 'Membership',
    contactUs: 'Contact Us',
    followUs: 'Follow Us',
    WeChatPublic: 'WeChat Public Account',
    codeWarehouse: 'Code Repository',
    followWeibo: 'Follow on Weibo',
    mailingList: 'Mail list',
    copyright: 'Copyright © EdgeGallery 2019 - 2021. All rights reserved. For details, see the Legal Statement',
    legalNotice: 'Legal Notice',
    privacyPolicy: 'Privacy Policy',
    containerResource: 'Resource',
    developer: 'Developer',
    docs: 'Docs'
  },
  app: {
    packageList: {
      name: 'Name',
      size: 'Size',
      version: 'Version',
      vendor: 'Provider',
      type: 'Type',
      affinity: 'Architecture',
      modifyTime: 'Modified Time',
      desc: 'Description',
      distribute: 'Distribute',
      synchronize: 'Sychronize From App Store',
      slectEdgeNodes: 'Select Edge Nodes',
      selected: 'Selected',
      ip: 'Ip',
      city: 'City',
      address: 'Address',
      createTime: 'Create Time',
      download: 'Download',
      auth: 'Author',
      pacVersion: 'Package Version',
      status: 'Status',
      sync: 'Sync',
      syncTip: 'Select at lease one application for synchronization!',
      newPackage: 'New Package',
      package: 'Package',
      uploadPackage: 'Upload Package',
      fileDeleteConfirmInfo: 'Are you sure want to remove %s ?',
      onlyOneFile: 'Only one file is allowed, please remove other file first!',
      edgeAppMarket: 'Edge App Store',
      getPackagesError: 'Failed to query app package information.'
    },
    distriList: {
      mecHost: 'MEC Hosts',
      hostIp: 'Host IP',
      status: 'Status',
      deploy: 'Deploy',
      detailAnddeploy: 'Detail & Deploy',
      appName: 'App Name',
      appDesc: 'App Description',
      podName: 'Pod Name',
      podKind: 'Pod Type',
      podNameEspace: 'Pod Namespace',
      podSel: 'Pod Selector',
      deploymentConf: 'Deployment Configuration',
      multipleDeploy: 'Batch Deploy',
      deleteError: 'Please delete applications whose status is Error.',
      getHostError: 'Failed to query host information.'
    },
    instanceList: {
      operationStatus: 'Operation Status',
      terminate: 'Terminate',
      instanceDetail: 'Instance Detail',
      beforeDelete: 'Are you sure to delete this instance from the MEC host?',
      addRule: 'Add Rules',
      batchDeleteDnsRules: 'Batch Delete DNS Rules',
      batchDeleteTrafficRules: 'Batch Delete Traffic Rules',
      addDnsRules: 'Add DNS Rules',
      addTrafficRules: 'Add Traffic Rules',
      addFilter: 'Add Traffic Filter',
      batchDelete: 'Batch Delete Instances',
      appKpi: 'Application KPI',
      newRules: 'New Rules',
      editRules: 'Edit Rules',
      failedDeleteInstance: 'Failed to Delete App Instance',
      failedBatchDeleteInstance: 'Failed to Batch Delete App Instance'
    },
    ruleConfig: {
      srcAddress: 'Src IP Address',
      srcPort: 'Src Port',
      dstAddress: 'Dst IP Address',
      dstPort: 'Dst Port',
      trafficRuleId: 'Traffic Rule Id',
      filterType: 'Filter Type',
      priority: 'Priority',
      protocol: 'Protocol',
      action: 'Action',
      dnsRuleId: 'DNS Rule Id',
      ipAddress: 'IP Address',
      ipAddressType: 'IP Address Type',
      domainName: 'Domain Name',
      ttl: 'TTL',
      checkRules: 'Check Rules',
      dnsRule: 'DNS Rules',
      trafficRule: 'Traffic Rules',
      addTrafficRule: 'Add Traffic Rules',
      editTrafficRule: 'Edit Traffic Rules',
      trafficFilter: 'Traffic Filter',
      appRuleManReg: 'App Rule MGR Registration',
      appRuleManEdit: 'App Rule MGR Editor',
      appRuleMgrMust: 'App Rule MGR is Required',
      srcTunnelPort: 'Src Tunnel Port',
      srcTunnelAddress: 'Src Tunnel Address',
      dstTunnelPort: 'Dst Tunnel Port',
      dstTunnelAddress: 'Dst Tunnel Address',
      tag: 'Tag',
      mutiplePort: 'Use "," to separate multiple ports',
      mutipleIp: 'Use "," to separate multiple IPs',
      srcMacAddress: 'Src MAC Address',
      dstMacAddress: 'Dst MAC Address',
      tunnelSpecificData: 'Tunnel Specific Data',
      tunnelType: 'Tunnel Type',
      interfaceType: 'Interface Type',
      addNewInterfaceInfo: 'Add New Interface Info',
      editInterfaceInfo: 'Edit Interface Info',
      interfaceDescriptor: 'Interface Descriptor',
      ipInfo: 'IP Information',
      macInfo: 'MAC Information',
      tunnelInfo: 'Tunnel Information',
      interfaceInfo: 'Interface Information',
      mutipleProtocol: 'Use "," to separate multiple protocols',
      mutipleTag: 'Use "," to separate multiple tags',
      mepError: 'MEP error, please try again later.',
      addRuleSuc: 'Rule added successfully',
      editRuleSuc: 'Rule modified successfully',
      delRuleSuc: 'Rule deleted successfully',
      returnPrePage: 'Return'
    }
  },
  resource: {
    containers: 'Containers',
    vm: 'VMs',
    confirmImg: 'Confirm the image',
    imgName: 'Name',
    imgPath: 'Path',
    version: 'Version',
    size: 'Size',
    others: 'Others',
    basicInfo: 'Basic Information',
    vmName: 'Vm Name',
    userName: 'Username',
    password: 'Password',
    specification: 'Vm Specification',
    chooseSpec: 'Choose Specification',
    name: 'Name',
    scene: 'Application Scenarios',
    disk: 'Disk',
    dataDisk: 'Data Disk',
    uploadTime: 'Upload Time',
    otherCapa: 'Others',
    chooseImg: 'Choose Image',
    publicImg: 'Public Images',
    privateImg: 'Private Images',
    chooseNetworkType: 'Choose Network',
    networkType: 'Network',
    type: 'Type',
    desc: 'Description',
    lastStep: 'Last',
    nextStep: 'Next',
    confirmToSubmit: 'Submit'
  },
  edgeNode: {
    ip: 'Ip',
    city: 'City',
    address: 'Address',
    affinity: 'Architecture',
    edgeNexusIp: 'Edge Repo IP',
    edgeNexusPort: 'Edge Repo Port',
    applcmIp: 'App LCM IP',
    k8sUrl: 'K8S URL',
    monitor: 'Monitor',
    vim: 'VIM',
    detail: 'Details',
    appDetails: 'App Details'
  },
  system: {
    edgeNodes: {
      systemPlatform: 'System',
      ip: 'Ip',
      city: 'City',
      affinity: 'Architecture',
      address: 'Address',
      edgeNexusIp: 'Edge Repo IP',
      edgeNexusPort: 'Edge Repo Port',
      applcmIp: 'App LCM IP',
      k8sUrl: 'K8S URL',
      newReg: 'New Registration',
      hostName: 'Host Name',
      ipAddress: 'Ip Address',
      location: 'Location',
      zipcode: 'Zipcode',
      username: 'Username',
      repoUsername: 'Edge Repo Username',
      password: 'Password',
      kubernetesUrl: 'Kubernetes Url',
      edgeNexusName: 'Edge Repo Name',
      edgeNexusPass: 'Edge Repo Password',
      upload: 'Upload',
      uploadTip: 'Only support config file less than 500kb.',
      nodeReg: 'Edge Node Registration',
      nodeModify: 'Edge Node Modification',
      uploadFile: 'Upload Config File',
      howToUpload: 'Drag the file here，or click to upload',
      hwCapability: 'Hardware Capabilities',
      coordinates: 'Coordinates',
      chooseLocation: 'Please select location',
      newEdge: 'New Edge',
      coordPlaceholder: 'Please enter longitude and latitude, eg: 116,39',
      referCoord: 'For coordinate acquisition, please refer to:'
    }
  },
  common: {
    reset: 'Reset',
    search: 'Search',
    operation: 'Operate',
    cancel: 'Cancel',
    submit: 'Submit',
    confirm: 'Confirm',
    delete: 'Delete',
    detail: 'Detail',
    modify: 'Modify',
    warning: 'Tip',
    copy: 'Copy',
    close: 'Close',
    downLoad: 'Download'
  },
  verify: {
    usernameTip: 'User name can not be empty',
    passwordTip: 'Password can not be empty',
    confirmpasswordTip: 'Confirm password can not be empty',
    telephoneTip: 'Phone number can not be empty',
    mailAddressBlankTip: 'Email Address can not be empty',
    verifyCodeTip: 'Verification code con not be empty',
    verifycodeRule: 'Please enter a 6-digit verification code',
    imgVerifycodeRule: 'Please enter a 4-digit verification code',
    imgVerifycodeWrong: 'Verification code error or expired',
    ipTip: 'Ip can not be empty',
    hostnameTip: 'Host name can not be empty',
    zipcodeTip: 'Zipcode can not be empty',
    cityTip: 'City can not be empty',
    addressTip: 'Address Mec Host can not be empty',
    edgeNexusIpTip: 'Edge Repo Ip can not be empty',
    edgeNexusPortTip: 'Edge Repo port can not be empty',
    edgeNexusUsernameTip: 'Edge Repo user name can not be empty',
    edgeNexusPasswordTip: 'Edge Repo password can not be empty',
    appLcmIpTip: ' App LCM ip can not be empty',
    k8sURLTip: 'k8sURL can not be empty',
    portTip: 'Port can not be empty',
    managedMecHostTip: 'Managed Mec Host can not be empty',
    appstorenameTip: 'App store name can not be empty',
    vendorTip: 'Vendor can not be empty',
    uriTip: 'URI can not be empty',
    affinityTip: 'Architecture can not be empty',
    areaTip: 'Area can not be empty',
    applcmNameTip: 'App LCM can not be empty',
    normalVerify: 'Wrong fomat.',
    hostNameVerify: '4 to 16 digits (letters, numbers)',
    edgeNodeNameVerify: '4 to 16 characters (letters, numbers), cannot contain special symbols',
    noSymbol: 'Cannot contain special symbols',
    coordinates: 'Coordinates can not be empty',
    uriVerify: 'Please provide the right Uri.',
    descVerify: 'Describtion can not be empty.',
    appNameVerify: 'App name can not be empty',
    mustOptions: 'This input box can not be empty',
    appRuleManaVerify: 'App rule management ip can not be empty'
  },
  tip: {
    getCommonListFailed: 'Failed to get list.',
    deletePacFrmoHost: 'Success to delete the package from the host!',
    networkError: 'Error! Pease check your internet!',
    failedReg: 'Failed to register user.',
    wrongCaptcha: 'Invalid varification. Please check the validation code.',
    failedAuth: 'Authentication failed. Please check the User Name or Password.',
    deploySuc: 'Deploy successfully!',
    deleteSuc: 'Delete successfully!',
    sucToDownload: 'Success to download package from app store!',
    registerServSuc: 'You have registered this service successfully!',
    unregisterServSuc: 'You have unregistered this service successfully!',
    regAppLcmSuc: 'Register App LCM success!',
    modAppLcmSuc: 'Modify App LCM success!',
    regAppStoreSuc: 'Register App Store success!',
    modAppStoreSuc: 'Modify App Store success!',
    deleteAppStoreSuc: 'You have deleted the app store successfully!',
    sucToDeleteNodes: 'Succeed to delete edge node!',
    uploadSuc: 'Succeed to upload config file!',
    sucToRegNode: 'Succeed to register edge node!',
    sucToModNode: 'Succeed to modify edge node!',
    regUserSuc: 'User is registered successfully!',
    fileFormatError: 'The file format is not supported or content is empty!',
    sessionOut: 'Your session is expired.',
    sessionExp: 'Session Expired.',
    version: 'Please choose package version first.',
    noPackage: 'There is no package.',
    warning: 'Warning',
    browserAdvise: 'To ensure all functions can work well, please use Chrome.',
    confirm: 'Confirm',
    mecHost: 'Please choose the host.',
    failedToDistribute: 'Failed to distribute package!',
    failedToGetList: 'Failed to get node list!',
    deployFailed: 'Failed to deploy!',
    getListFailed: 'Failed to get distribution list!',
    getNodeListFailed: 'Failed to get node list!',
    getPackageInfoFailed: 'Failed to get package info!',
    getAppInfoFailed: 'Failed to get app info!',
    getCapaFailed: 'Failed to get the capabilities!',
    getKpiFailed: 'Failed to get the node kpi.',
    getServiceFailed: 'Failed to get service info!',
    failedToGetCaptcha: 'Failed to get verification code.',
    nameAlSinged: 'The username number has been already registered, please change another one.',
    telAlSigned: 'The telephone number has been already registered, please change another one.',
    modifyPwd: 'You have successfully reset your password.',
    failedModifyPwd: 'Failed to reset your password.',
    faileToGetInstanceList: 'Failed to get instance list!',
    faileToDeleteNode: 'Failed to delete edge node!',
    faileToUpload: 'Failed to upload config file.',
    failToRegNode: 'Failed to register the node.',
    failToModifyNode: 'Failed to modify Edge Node.',
    failToAddNode: 'Failed to add Edge Node.',
    typeApp: 'Please enter MEC host ip first!',
    uploadConf: 'Please upload config file first.',
    typeCity: 'Please select deployment location.',
    typeAddress: 'Please provide address details. ',
    confirmToDeleteNode: 'Are you sure to delete this node?',
    deleteAppBeforeDeleteNode: 'You have to delete the app installed on the node first.',
    beforeDeleteApplcm: 'Are you sure to delete this App LCM?',
    beforeDeleteAppstore: 'Are you sure to delete this App Store?',
    beforeDeleteFromMechost: 'Are you sure to delete this package from the MEC host?',
    getStatusDelay: 'There is a delay in query details, please wait 30-40S after the deployment is completed!',
    pleaseSelect: 'Please select.',
    successToAddRules: 'You have created one rule successfully.',
    regAppManSuc: 'You have created one app rule manager successfully.',
    modAppRuleSuc: 'You have modified one app rule manager successfully.',
    ifContinue: 'This operation will permanently delete the diversion rule, continue?',
    oneAtLeast: 'Please select at least one rule.',
    loginStatusFailed: 'The login status has expired, please refresh the page and log in again.',
    loginOperation: 'Please log in to perform this operation.',
    operationInfo: 'Operation Info',
    ttl: 'Please provide right ttl.',
    macMust: 'Please provide right mac address.',
    idMust: 'Please provide right rule ID.',
    domainMust: 'Please provide right domain name.',
    beforeDeleteAppMgr: 'Are you sure to delete this data?',
    uploadSuccess: 'Upload success!',
    confirmDelete: 'Confirm to delete',
    delSuccess: 'Delete success',
    image: 'image?'
  },
  area: {
    beijing: 'Beijing',
    haidian: 'Haidian',
    caict: 'CAICT',
    huaweiBeijing: 'Huawei Beijing',
    shaanxi: 'Shaanxi',
    xian: "Xi'an",
    huaweiXian: "Huawei Xi'an",
    xidian: 'Xidian University',
    jiangsu: 'Jiangsu',
    nanjing: 'Nanjing',
    zijinshan: 'Zijinshan Lab',
    shanghai: 'Shanghai',
    pudong: 'Pudong',
    huaweiShanghai: 'Huawei Shanghai',
    guangdong: 'Guangdong',
    shenzhen: 'Shenzhen',
    huaweiBantian: 'Huawei Bantian',
    tiananyungu: 'Huawei Tiananyungu',
    clab: 'Clab',
    SUSTech: 'SUSTech',
    shandong: 'Shandong',
    qingdao: 'Qingdao',
    haier: 'Haier Qingdao'
  },
  dashboard: {
    nodeDetails: 'Node Details',
    appDetails: 'App Details',
    appList: 'Application List',
    nodeList: 'Edge Nodes List',
    appName: 'Application Name',
    appId: 'Application ID',
    deploymentStatus: 'Deployment Status',
    applicationStatistics: 'Application Statistics',
    available: 'Available',
    distributed: 'Distributed',
    deployed: 'Deployed'
  },
  CAPABILITIES_PAGE: {
    PAGE_DESC: 'Capabilities of one edge node and the times that the edge node is invoked in the last seven days',
    CAPABILITY_SERVICE_REGISTRATION: 'Service Registration',
    CAPABILITY_SERVICE_DISCOVERY: 'Service Discovery',
    CAPABILITY_DNS: 'DNS Capability',
    CAPABILITY_LOCATION: 'Positioning Capability',
    CAPABILITY_FACE_RECOGNITION: 'Face Recognition Capability',
    CAPABILITY_SERVICE_REGISTRATION_DESC: 'Registers services to MEP',
    CAPABILITY_SERVICE_DISCOVERY_DESC: 'Provides the application with the service registed on the MEP',
    CAPABILITY_DNS_DESC: 'Provides the domain name resolution capability for applications',
    CAPABILITY_LOCATION_DESC: 'Provides location service for applications',
    CAPABILITY_FACE_RECOGNITION_DESC: 'Upload a photo for facial recognition and return the location of the face to be recognized',
    CARD_DESC: 'Usage Last 7 Days',
    MEP_SELF_CAPABILITY: 'MEP Capablities',
    APP_CAPABILITY: 'APP Capabilities'
  },
  SERVICE_PAGE: {
    PAGE_DESC: 'Edge Node Service Details',
    TABLE_HEADER_SERVICE_NAME: 'Service Name',
    TABLE_HEADER_SERVICE_STATUS: 'Service Status',
    TABLE_HEADER_APP_NAME: 'Application Name',
    TABLE_HEADER_SERVICE_VERSION: 'Service Version',
    TABLE_HEADER_SERVICE_ID: 'Service ID',
    NO_DATA_NOTICE: 'No data available.',
    TABLE_HEADER_APP_VERSION: 'Application Version',
    TABLE_HEADER_OPERATION: 'Operation',
    APP_STATICS_APP: 'Quantity of Applications：',
    APP_STATICS_SERVICE: 'Quantity of Services：',
    SERVICE_STATICS_SUBSCRIBED: 'Quantity of Service Subscriptions：',
    APP_STATICS_SUBSCRIBE: 'Quantity of Apps Subscriptions：',
    NUM: '',
    ABILITY_MEP_SELF: 'MEP Capabilities',
    SERVICES_DETAIL: 'Edge Node Service Details',
    OPERATION_VIEW: 'View',
    BACK_BUTTON_NAME: 'Return',
    DATA: 'Date：',
    TIMES: 'Times：'
  },
  TOPOLOGY_PAGE: {
    PAGE_DESC: 'Topology of applications and services on edge nodes',
    NODE_TYPE: 'Node Type',
    SERVICE: 'Service',
    SERVICE_STATUS: 'Service Status',
    SERVICE_STATUS_INACTIVE: 'Inactivate',
    SERVICE_STATUS_ACTINVE: 'Active',
    TIPS_KEY_SERVICE_NAME: 'Service Name：',
    TIPS_KEY_SERVICE_VERSION: 'Service Version：',
    TIPS_KEY_SERVICE_STATE: 'Service Status：',
    TIPS_KEY_APP_NAME: 'APP Name：',
    TIPS_KEY_NAME: 'Name：',
    TIPS_KEY_SOURCE: 'Source：',
    TIPS_KEY_TARGET: 'Target：',
    TIPS_KEY_SUBORDINATION: 'Type of Affiliation',
    TIPS_KEY_SUBSCRIBE: 'Subscription Relation Type',
    DASHBORD_TAB: 'Overview of Applications and Services on Edge Node',
    TOPOLOGY_TAB: 'Topology'
  },
  imageMgmt: {
    imageMgmt: 'Image Repository',
    container: 'Container',
    vmImage: 'VM',
    newImg: 'Create System Image',
    imageName: 'Image Name',
    beginTime: 'Create Time (From)',
    endTime: 'Create Time (To)',
    imagePath: 'Image Path',
    user: 'User',
    version: 'Version',
    uploadTime: 'Upload Time',
    isPublic: 'Is Public or Not',
    osName: 'Operation System',
    sysDisk: 'Disk Size',
    uploadContainerImage: 'Upload Container Image',
    uploadVMImage: 'Upload VM Image',
    upload: 'Click to Upload'
  },
  resourceMgr: {
    resManager: 'Resource Manager',
    resourceOverview: 'Overview',
    vm: 'VM',
    image: 'Image',
    network: 'Network',
    flavor: 'Specification',
    securityGroup: 'Security Group',
    createVMInstance: 'Create Instance',
    createImage: 'Create Image',
    edit: 'Edit',
    delete: 'Delete',
    noData: 'No Data',
    searchPlaceholder: 'Please enter a name to search',
    name: 'Name',
    type: 'Type',
    status: 'Status',
    visibility: 'Visibility',
    protect: 'Protected',
    diskFormat: 'Disk Format',
    size: 'Size(MB)',
    operator: 'Operator',
    createNetwork: 'Create Network',
    createFlavor: 'Set up Specification',
    createSecurityGroup: 'Create Security Group',
    managerSecurityGroup: 'Rule Management',
    networkName: 'Network Name',
    networkAddr: 'Network Address',
    ipVersion: 'IP Version',
    gatewayIP: 'Gateway IP',
    cancel: 'Cancel',
    confirm: 'Confirm',
    minPercentage: 'Less than 50%',
    middlePercentage: '50%~80%',
    maxPercentage: 'More than 80%',
    flavorVCPU: 'VCPU Num',
    ram: 'RAM(MB)',
    rootDisk: 'Root Disk',
    tempDisk: 'Temporary Disk',
    swapDisk: 'Swap Disk',
    addSecurityGroupFlavor: 'Add Rule',
    protocol: 'Protocol',
    direct: 'Direction',
    description: 'Description',
    openPort: 'Open Port',
    port: 'Port',
    remote: 'Remote',
    detail: 'Detail',
    imageSelect: 'Image selection',
    instanceType: 'Instance type',
    preStep: 'Last Step',
    nextStep: 'Next Step',
    instanceName: 'Instance Name',
    useDomain: 'Available Zone',
    number: 'Quantity',
    hasUpdate: 'Updated',
    vcpu: 'vCPUs',
    totalDisk: 'Total Disk',
    public: 'Public',
    connectSubnet: 'Connected subnet',
    shared: 'Shared',
    adminStatus: 'Admin status',
    userParam: 'User params',
    enableUserParam: 'Whether to enable user params',
    resourceStatus: 'Resource status',
    selectEdgeNode: 'Select Edge Node',
    editSecurityGroup: 'Edit Security Group',
    more: 'more',
    createSnapshot: 'create snapshot',
    control: 'Console',
    pauseInstance: 'pause instance',
    hangInstance: 'suspend instance',
    deleteVMTitle: 'Confirm to delete the VM',
    deleteImageTitle: 'Confirm to delete the image',
    deleteNetworkTitle: 'Confirm to delete the network',
    deleteFlavor: 'Confirm to delete the specification ',
    deleteSecurityGroupTitle: 'Confirm to delete the security group',
    deleteSecurityGroupFlavorTitle: 'Confirm to delete the security group specification',
    deleteVMMessage: 'The deleted VM cannot be recovered. Do you want to delete the VM?',
    deleteImageMessage: 'The deleted image cannot be recovered. Do you want to delete the image?',
    deleteNetworkMessage: 'The deleted network cannot be recovered. Do you want to delete the network?',
    deleteFlavorMessage: 'The deleted flavor cannot be recovered. Do you want to delete the specification?',
    deleteSecurityGroupMessage: 'The deleted security group cannot be recovered. Do you want to delete the security group?',
    deleteSecurityGroupFlavorMessage: 'The deleted security group specification cannot be recovered. Do you want to delete the security group specification?',
    editSecurityGroupFlavor: 'Edit Rule',
    returnSecurityGroup: 'return security group',
    deleteFlavorTitle: 'delete specification',
    containerFormat: 'Container Format',
    minRam: 'Min Ram',
    minDisk: 'Min Disk',
    properties: 'Properties',
    resourceUri: 'Resource Uri',
    imageName: 'Image Name',
    flavorConfig: 'Specification Config',
    check: 'check',
    canonicalInfo: 'Please fill in complete information',
    subnetName: 'Subnet Name',
    vmAmount: 'Quantity of VM',
    total: 'Total',
    createFlavorSuccess: 'Specification created successfully',
    createSecurityGroupSuccess: 'Security group created successfully',
    createSecurityGroupFlavorSuccess: 'Security group rule created successfully',
    createImageSuccess: 'Image created successfully',
    createNetworkSuccess: 'Network created successfully',
    createVMSuccess: 'VM created successfully',
    ethertype: 'Ether type',
    portRangeMin: 'start port',
    portRangeMax: 'end port',
    deleteSuccess: 'successfully deleted',
    vcpuAmount: 'Quantity of vCPU',
    ramAmount: 'Quantity of Ram(MB)',
    securityGroupAmount: 'Quantity of Security Group',
    floatIpAmount: 'Quantity of Float Ip',
    serverGroupAmount: 'Quantity of Server Group',
    portAmount: 'Quantity of Port',
    networkAmount: 'Quantity of Network',
    subnetAmount: 'Quantity of Subnet',
    noLimit: 'No limit',
    fixedIp: 'Fixed Ip',
    rangePort: 'Port Range',
    allPort: 'All Ports',
    nameRule: 'Name is required',
    availabilityZoneRule: 'Availability zone cannot be empty',
    minRamRule: 'The minimum memory cannot be empty',
    diskRule: 'The smallest disk cannot be empty',
    networkAddrRule: 'The network address cannot be empty',
    ipVersionRule: 'IP version cannot be empty',
    subnetNameRule: 'The subnet name cannot be empty',
    vCPURule: 'vCPU cannot be empty',
    ramRule: 'Memory cannot be empty',
    rootDiskRule: 'The root disk cannot be empty',
    tempDiskRule: 'Temporary disk cannot be empty',
    swapDiskRule: 'Swap disk cannot be empty',
    directRule: 'Direction cannot be empty',
    openPortRule: 'Port type cannot be empty',
    remoteRule: 'Please select the rule source',
    cidrRule: 'IP address block cannot be empty',
    currentHost: 'Current Host:',
    enterIp: 'Please enter the IP address',
    enterRightIp: 'Please enter the correct IP address',
    isShared: 'shared',
    applyRes: 'Apply for edge resources',
    deleteNetworkFailed: 'Failed to delete network!',
    createFlavorFailed: 'Failed to create specification!',
    createImageFailed: 'Failed to create image!',
    createNetworkFailed: 'Failed to create network!',
    createSecurityGroupRuleFailed: 'Failed to create security group rule!',
    querySecurityGroupsFailed: 'Failed to query security group',
    createSecurityGroupFailed: 'Failed to create security group!',
    deleteFlavorFailed: 'Failed to delete specification!',
    queryFlavorsFailed: 'Failed to query specification',
    deleteImageFailed: 'Failed to delete image!',
    queryImagesFailed: 'Failed to query image',
    queryNetworksFailed: 'Failed to query security group',
    getKpiFailed: 'Failed to query node statistic',
    deleteSecurityGroupRuleFailed: 'Failed to delete security group rule!',
    querySecurityGroupRulesFailed: 'Failed to query security group rule',
    deleteSecurityGroupFailed: 'Failed to delete security group!',
    deleteVMFailed: 'Failed to delete vm!',
    queryVMsFailed: 'Failed to query vm',
    createVMFailed: 'Failed to create vm!',
    imageId: 'Image ID',
    ipAddr: 'IP Address',
    flavorName: 'Specification Name',
    subnetsAssociated: 'Subnets Associated',
    external: 'External',
    availability: 'Availability Zones',
    securityGroupId: 'Security Group ID',
    ipProtocol: 'IP Protocol',
    portRange: 'Port Range',
    remoteIpPrefix: 'Remote IP Prefix',
    remoteSecurityGroup: 'Remote Security Group',
    createVMSnapshotSuccess: 'Snapshot created successfully',
    createVMSnapshotFail: 'Failed to create snapshot',
    rebootSuccess: 'The instance is rebooted successfully',
    rebootFail: 'Failed to reboot the instance',
    pauseSuccess: 'The instance was suspended successfully',
    pauseFail: 'Failed to suspend instance',
    operatorSuccess: 'Successful operation',
    resumeSuccess: 'The instance is resumed successfully',
    suspendSuccess: 'The instance is suspended successfully',
    unpauseSuccess: 'The instance is unpaused successfully',
    stopSuccess: 'The instance is stoped successfully',
    startSuccess: 'The instance is started successfully',
    operatorFail: 'Failed operation',
    hardRebootVM: 'Hard reboot the instance',
    softRebootVM: 'Soft reboot instance',
    suspendInstance: 'suspend instance',
    resumeInstance: 'restore instance',
    stopInstance: 'close the instance',
    startInstance: 'Rebuild the instance',
    hardRebootVMMessage: 'You have selected"{0}".Please confirm your selection. After restarting the instance will lose all data stored on the persistent storage device.',
    hardRebootVMTitle: 'Confirm to hard reboot the instance',
    softRebootVMTitle: 'Confirm to soft reboot the instance',
    task: 'Task',
    rebootTask: 'restarting...',
    noTask: 'None'
  },
  ...enLocale
}

export default en
